ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.Direct3D11 Namespace / GeometryShader Class / Create Method / Create(Device,Byte[],StreamOutputElement[],Int32[],Int32,ClassLinkage) Method
The device used to create the shader.
The compiled shader bytecode.
An array of StreamOutputElement instances describing the layout of the output buffers.
An array of buffer strides; each stride is the size of an element for that buffer.
The index number of the stream to be sent to the rasterizer stage. Set to NoRasterizedStream if no stream is to be rasterized.
A dynamic class linkage interface.

In This Topic
    Create(Device,Byte[],StreamOutputElement[],Int32[],Int32,ClassLinkage) Method
    In This Topic
    Initializes a new instance of the GeometryShader class.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal device As Device, _
       ByVal shaderBytecode() As Byte, _
       ByVal elements() As StreamOutputElement, _
       ByVal bufferedStrides() As Integer, _
       ByVal rasterizedStream As Integer, _
       Optional ByVal linkage As ClassLinkage _
    ) As GeometryShader
    public static GeometryShader Create( 
       Device device,
       byte[] shaderBytecode,
       StreamOutputElement[] elements,
       int[] bufferedStrides,
       int rasterizedStream,
       ClassLinkage linkage
    )

    Parameters

    device
    The device used to create the shader.
    shaderBytecode
    The compiled shader bytecode.
    elements
    An array of StreamOutputElement instances describing the layout of the output buffers.
    bufferedStrides
    An array of buffer strides; each stride is the size of an element for that buffer.
    rasterizedStream
    The index number of the stream to be sent to the rasterizer stage. Set to NoRasterizedStream if no stream is to be rasterized.
    linkage
    A dynamic class linkage interface.
    See Also